package com.kuang.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author 
 * 
 */
@Data
@TableName(value = "gift")
public class Gift implements Serializable {
    /**
     * 礼物内码
     */
    @TableId(type = IdType.AUTO)
    private Short id;

    /**
     * 礼物类型，参见enums.Gift.Type枚举
     */
    @TableField(value = "type")
    private Byte type;

    /**
     * 礼物名称
     */
    @TableField(value = "`name`")
    private String name;

    /**
     * 价格
     */
    @TableField(value = "amount")
    private Integer amount;

    /**
     * 礼物图标
     */
    @TableField(value = "icon")
    private String icon;

    /**
     * 动图
     */
    @TableField(value = "anim")
    private String anim;

    /**
     * 排序
     */
    @TableField(value = "sort")
    private Integer sort;

    /**
     * 是否通知全部
     */
    @TableField(value = "notice_all")
    private Boolean noticeAll;

    /**
     * 是否通知全群
     */
    @TableField(value = "notice_group")
    private Boolean noticeGroup;

    /**
     * 1私聊 2广场 3家族 4直播
     */
    @TableField(value = "kind")
    private Byte kind;

    /**
     * 是否展示礼物动效
     */
    @TableField(value = "show_anim")
    private Boolean showAnim;

    /**
     * 弹幕样式
     */
    @TableField(value = "barrage")
    private String barrage;

    /**
     * 0 普通弹幕 1高级弹幕
     */
    @TableField(value = "barrage_type")
    private Byte barrageType;

    @TableField(value = "`show`")
    private Boolean show;

    /**
     * 礼物仓库id
     */
    @TableField(value = "warehouse_id")
    private Integer warehouseId;

    /**
     * 连击礼物
     */
    @TableField(value = "combo")
    private Boolean combo;

    @TableField(value = "cash_authorized")
    private Integer cashAuthorized;

    @TableField(value = "cash_unauthorized")
    private Integer cashUnauthorized;

    private static final long serialVersionUID = 1L;
}